package cn.com.shadowless.xinning.model.order;

import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

/**
 * The type Asset broken info.
 *
 * @author sHadowLess
 */
@Data
public class AssetBrokenInfo {

    private DataDTO data;

    /**
     * The type Data dto.
     */
    @Data
    public static class DataDTO {
        private List<ItemListDTO> itemList;
        private String id;
        private String createTime;
        private String createTimeStr;
        private String createTimeString;
        private String createUser;
        private String createUserName;
        private String departmentId;
        private String departmentName;
        private String scrapReason;
        private boolean deleteFlag;
        private String status;
        private String statusStr;


        /**
         * The type Item list dto.
         */
        @Data
        public static class ItemListDTO {
            private String id;
            private String parentId;
            private String fixedAssetId;
            private AssetObjectDTO assetObject;
            private BigDecimal depreciationYear;
            private BigDecimal depreciationMonth;
            private BigDecimal depreciationTotal;
            private BigDecimal leftValue;
            private String remark;
            private Object scrapReason;
            private boolean deleteFlag;


            /**
             * The type Asset object dto.
             */
            @Data
            public static class AssetObjectDTO {
                private Object itemList;
                private int index;
                private String id;
                private String assetNumber;
                private String assetName;
                private String modelNumber;
                private Object assetType;
                private String supplier;
                private BigDecimal originalValue;
                private String departmentId;
                private String departmentName;
                private Object ownerDepartmentName;
                private String owner;
                private String ownerName;
                private String storageLocation;
                private String startDate;
                private String startDateStr;
                private String assetStates;
                private String assetStatesStr;
                private String buyer;
                private Object buyerName;
                private String checker;
                private Object checkerName;
                private String remark;
                private String createUser;
                private Object createUserName;
                private String createTime;
                private String createTimeStr;

            }
        }
    }
}
